﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#include "../import/head.h"
#include "../impl/head.h"
#include "sys_data.h"

///////////////////////////////////////////////////////////////////////////////////////////////////

namespace xos_sqlite
{

    sys_data::sys_data( xos_container::i_container * pContainer ) : m_pContainer( pContainer )
    {
    }

    sys_data::~sys_data()
    {
    }

    int sys_data::init()
    {
        int ret = 0;

		if( 0 == ret )
		{
			ret = sqlite_impl::init_all();
		}

        return ret;
    }

    int sys_data::term()
    {
        int ret = 0;

        sqlite_impl::term_all();

        return ret;
    }

} // xos_sqlite
